<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>应聘列表</title>
    <script src="https://cdn.tailwindcss.com/3.3.3"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f5f5f5;
            max-width: 750px;
            margin: 0 auto;
        }
        .status-tab.active {
            color: #3b82f6;
            border-bottom: 2px solid #3b82f6;
        }
        .aunt-card {
            transition: all 0.2s ease;
        }
        .aunt-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        .action-btn {
            transition: all 0.2s ease;
        }
        .action-btn:hover {
            transform: scale(1.05);
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- 顶部导航 -->
    <header class="bg-white shadow-sm sticky top-0 z-10">
        <div class="flex items-center px-4 py-3">
            <button class="text-gray-600 mr-2">
                <i class="fas fa-chevron-left text-lg"></i>
            </button>
            <h1 class="text-lg font-semibold text-gray-800">应聘列表</h1>
        </div>
    </header>

    <!-- 职位信息区 -->
    <div class="bg-white px-4 py-3 mb-2 shadow-sm">
        <div class="flex justify-between items-center">
            <div>
                <h2 class="text-lg font-semibold text-gray-800">育儿嫂 - 照顾3岁宝宝</h2>
                <p class="text-sm text-gray-500">全职 · 发布于2024-03-15</p>
            </div>
            <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded-full">招聘中</span>
        </div>
    </div>

    <!-- 筛选区 -->
    <div class="bg-white px-4 py-3 mb-3 shadow-sm overflow-x-auto">
        <div class="flex space-x-4 whitespace-nowrap">
            <button class="status-tab active px-2 py-1 text-sm font-medium">全部</button>
            <button class="status-tab px-2 py-1 text-sm font-medium text-gray-600">待查看</button>
            <button class="status-tab px-2 py-1 text-sm font-medium text-gray-600">已邀约</button>
            <button class="status-tab px-2 py-1 text-sm font-medium text-gray-600">已录用</button>
            <button class="status-tab px-2 py-1 text-sm font-medium text-gray-600">已拒绝</button>
        </div>
    </div>

    <!-- 应聘列表区 -->
    <div class="px-4 pb-20">
        <!-- 阿姨卡片1 -->
        <div class="aunt-card bg-white rounded-lg shadow mb-3 p-4">
            <div class="flex items-center mb-3">
                <img src="https://s.coze.cn/image/3mePYv9ZxVs/" class="w-12 h-12 rounded-full object-cover mr-3" alt="阿姨头像">
                <div class="flex-1">
                    <h3 class="font-medium text-gray-800">张阿姨</h3>
                    <div class="flex items-center mt-1">
                        <div class="flex text-yellow-400 text-xs">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star-half-alt"></i>
                        </div>
                        <span class="text-xs text-gray-500 ml-1">4.8分</span>
                    </div>
                </div>
                <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded-full">待查看</span>
            </div>
            <div class="flex justify-between">
                <button class="action-btn bg-gray-100 text-gray-700 px-3 py-1 rounded text-sm">查看简历</button>
                <button class="action-btn bg-blue-100 text-blue-600 px-3 py-1 rounded text-sm">邀约面试</button>
                <button class="action-btn bg-red-100 text-red-600 px-3 py-1 rounded text-sm">拒绝</button>
            </div>
        </div>

        <!-- 阿姨卡片2 -->
        <div class="aunt-card bg-white rounded-lg shadow mb-3 p-4">
            <div class="flex items-center mb-3">
                <img src="https://s.coze.cn/image/s8nYrAYTV4s/" class="w-12 h-12 rounded-full object-cover mr-3" alt="阿姨头像">
                <div class="flex-1">
                    <h3 class="font-medium text-gray-800">李阿姨</h3>
                    <div class="flex items-center mt-1">
                        <div class="flex text-yellow-400 text-xs">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="far fa-star"></i>
                        </div>
                        <span class="text-xs text-gray-500 ml-1">4.0分</span>
                    </div>
                </div>
                <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded-full">已邀约</span>
            </div>
            <div class="flex justify-between">
                <button class="action-btn bg-gray-100 text-gray-700 px-3 py-1 rounded text-sm">查看简历</button>
                <button class="action-btn bg-green-100 text-green-600 px-3 py-1 rounded text-sm">已邀约</button>
                <button class="action-btn bg-red-100 text-red-600 px-3 py-1 rounded text-sm">拒绝</button>
            </div>
        </div>

        <!-- 阿姨卡片3 -->
        <div class="aunt-card bg-white rounded-lg shadow mb-3 p-4">
            <div class="flex items-center mb-3">
                <img src="https://s.coze.cn/image/3_lhENWfi_M/" class="w-12 h-12 rounded-full object-cover mr-3" alt="阿姨头像">
                <div class="flex-1">
                    <h3 class="font-medium text-gray-800">王阿姨</h3>
                    <div class="flex items-center mt-1">
                        <div class="flex text-yellow-400 text-xs">
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                            <i class="fas fa-star"></i>
                        </div>
                        <span class="text-xs text-gray-500 ml-1">5.0分</span>
                    </div>
                </div>
                <span class="bg-purple-100 text-purple-600 text-xs px-2 py-1 rounded-full">已录用</span>
            </div>
            <div class="flex justify-between">
                <button class="action-btn bg-gray-100 text-gray-700 px-3 py-1 rounded text-sm">查看简历</button>
                <button class="action-btn bg-purple-100 text-purple-600 px-3 py-1 rounded text-sm">已录用</button>
                <button class="action-btn bg-red-100 text-red-600 px-3 py-1 rounded text-sm">解雇</button>
            </div>
        </div>
    </div>

    <!-- 底部导航 -->
    <div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg flex justify-around items-center py-2 max-w-750 mx-auto" style="max-width: 750px;">
        <a href="employer-homepage.html" class="flex flex-col items-center p-2 text-gray-500">
            <i class="fas fa-home text-xl"></i>
            <span class="text-xs mt-1">首页</span>
        </a>
        <a href="employer-aunt-management.html" class="flex flex-col items-center p-2 text-gray-500">
            <i class="fas fa-user-friends text-xl"></i>
            <span class="text-xs mt-1">阿姨</span>
        </a>
        <a href="employer-job-management.html" class="flex flex-col items-center p-2 text-blue-600">
            <i class="fas fa-briefcase text-xl"></i>
            <span class="text-xs mt-1">招聘</span>
        </a>
        <a href="employer-my-page.html" class="flex flex-col items-center p-2 text-gray-500">
            <i class="fas fa-user text-xl"></i>
            <span class="text-xs mt-1">我的</span>
        </a>
    </div>

    <script>
        // 状态标签切换
        document.querySelectorAll('.status-tab').forEach(tab => {
            tab.addEventListener('click', function() {
                document.querySelectorAll('.status-tab').forEach(t => {
                    t.classList.remove('active');
                    t.classList.add('text-gray-600');
                });
                this.classList.add('active');
                this.classList.remove('text-gray-600');
            });
        });

        // 操作按钮点击事件
        document.querySelectorAll('.action-btn').forEach(btn => {
            btn.addEventListener('click', function(e) {
                e.stopPropagation();
                const action = this.textContent.trim();
                if (action === '查看简历') {
                    window.location.href = 'aunt-info.html';
                } else {
                    alert(`执行操作: ${action}`);
                }
            });
        });

        // 阿姨卡片点击事件
        document.querySelectorAll('.aunt-card').forEach(card => {
            card.addEventListener('click', function() {
                window.location.href = 'aunt-info.html';
            });
        });
    </script>
</body>
</html>